package com.studyinghome.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 区域
 *
 * @author leslie
 * @date 2023/02/14
 */
@Data
@ToString
@Accessors(chain = true)
@EqualsAndHashCode
@TableName("tb_area")
public class Area {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String province;

    private String city;

    private String area;

    private String postcode;

    @TableLogic
    private Integer deleted;
}
